package com.aisino.sh.eamsleqiforward.controller;

import lombok.Data;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;

/**
 * @ClassNameMainTestController
 * @description: TODO 类描述
 * @Author lipp
 * @Date 2024/2/1 9:56
 * @Version 1.0
 */
@RequestMapping("main")
@RestController
public class MainTestController {

    @PostMapping("testMM")
    public void test(@RequestBody Outer outer){
        System.out.println("9asduih");
       outer.getUpdateKanbanStatusListOrder().getIssueStatusId().forEach(val -> System.out.println(val));
    }


    @Data
    static class Entity{
        private Long columnId;
        private List<Long> issueStatusId;

    }
    @Data
    static class Outer{
        private Long kanbanId;
        private Entity updateKanbanStatusListOrder;
    }


}
